package com.healthcloud.service.patient;

import com.healthcloud.entity.patient.PatientDataSpecEntity;
import com.healthcloud.utils.PageParam;

import java.util.List;

public interface PatientDataSpecService {
    void save(PatientDataSpecEntity patientDataSpec);

    List<PatientDataSpecEntity> listSpecByIdCard(PatientDataSpecEntity entity, PageParam pageParam);

    Integer countSpecByIdCard(PatientDataSpecEntity entity);

    void update(PatientDataSpecEntity entity);

    /**
     * 批量删除患者数据的特殊处理备注内容
     * @param ids pp_patient_data_spec 的 id 与, 拼接字符串
     * @param idCard 身份证号
     * @return true / false
     */
    Boolean batchDeleteSpecRemarks(String ids, String idCard);

}
